﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Admin</title>
</head>
<body>
    <div>
        <% if (Session["UserAdmin"] != null)
       {
           Response.Redirect("/Admin/Index");
         %>
        <%} %>
        <center>   
        <h3>Đăng nhập tài khoản Admin</h3>  
        <br />
        <form method ="post" action="/AdminLogin">
            <table>
                <tr>
                    <td>Tên đăng nhập: </td>
                    <td>
                        <input type="text" name="UserName" id="UserName" />
                        <img src="" id="img_userNameMsg" />
                    </td>
                </tr>    
                <tr>
                   <td>Mật khẩu: </td>
                   <td>
                        <input type="password" name="PassWord" id="PassWord" /><span id="statetext"></span>
                        <img src="" id="img_passMsg" />
                   </td>
                </tr>    
                <tr>
                    <td>&nbsp;</td>
                    <td><input type="submit" value="Đăng nhập" /></td>
                </tr>
            </table>
         </form>
        </center>
    </div>
</body>
</html>
